package cn.momoshenchi.medicine.service;

import cn.momoshenchi.medicine.pojo.PrescriptionInfo;
import cn.momoshenchi.medicine.vo.PreDetail;
import cn.momoshenchi.medicine.vo.Prescribe;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface PrescriptionInfoService extends IService<PrescriptionInfo> {

    /**
     * 医生开处方
     * @param prescribe
     */
    void prescribe(List<Prescribe> prescribe);

    /**
     * 医生查看处方详情
     * @param consultId
     * @return
     */
    PreDetail preDetail(String consultId);

//    /**
//     * 医生提交处方
//     * @param prescribe
//     */
//    void endPre(Prescribe prescribe);
}
